package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.util.Date;

public class UsersRealName implements Serializable {
    /**
     * 主键id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 用户id
     *
     * @mbg.generated
     */
    private Integer userId;

    /**
     * 身份证姓名
     *
     * @mbg.generated
     */
    private String name;

    /**
     * 身份证号码
     *
     * @mbg.generated
     */
    private String card;

    /**
     * 身份证正面头像
     *
     * @mbg.generated
     */
    private String faceImg;

    /**
     * 身份证背面
     *
     * @mbg.generated
     */
    private String backImg;

    /**
     * 认证时间
     *
     * @mbg.generated
     */
    private Date creatTime;

    /**
     * 1默认 0非默认
     *
     * @mbg.generated
     */
    private Integer defaultSelect;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getFaceImg() {
        return faceImg;
    }

    public void setFaceImg(String faceImg) {
        this.faceImg = faceImg;
    }

    public String getBackImg() {
        return backImg;
    }

    public void setBackImg(String backImg) {
        this.backImg = backImg;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Integer getDefaultSelect() {
        return defaultSelect;
    }

    public void setDefaultSelect(Integer defaultSelect) {
        this.defaultSelect = defaultSelect;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userId=").append(userId);
        sb.append(", name=").append(name);
        sb.append(", card=").append(card);
        sb.append(", faceImg=").append(faceImg);
        sb.append(", backImg=").append(backImg);
        sb.append(", creatTime=").append(creatTime);
        sb.append(", defaultSelect=").append(defaultSelect);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}